/*
* @Date: 2021/3/30
* @Author: XueChengwu <xuechengwu@erayt.com>
* @Copyright: 2015-2019 Erayt, Inc.
* @Description: If you have some questions, please contact: xuechengwu@erayt.com.
*/
import { randstr } from '../../../../utils/common';

export default class Page {
  constructor(option) {
    this.name = option.name;
    this.key = option.key || randstr();
    this.xds = option.xds || {};
    this.roots = option.roots || [];
    this.data = option.data || [];
    this.methods = option.methods || [];
  }

  mkView() {

  }

}
